package com.sakura.thread.chapter1;

/**
 * Created by apple on 2018/12/10.
 */
public class ThreadTest {
    public static class MyThread extends Thread{
        @Override
        public void run(){
            System.out.println("I am a baby");
        }

        public static void main(String[] args) {
            MyThread thread = new MyThread();
            thread.run();
        }
    }
}
